package com.cspg.design.bean.deviceBean;


import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class PolylineDeviceBean {

    private  Long polyLineId;

    @NotNull
    private String projectId;   //项目Id
    private String startPointUUID;   //起点设备UUID
    private String endPointUUID;     //终点设备UUID
    private Double startLatitude;     //起点纬度
    private Double startLongitude;   //起点经度
    private Double endLatitude;     //终点纬度
    private Double endLongitude;   //终点经度
    @Id
    private String polylineUuid;   //设备UUID
    private String polylineModel;  //设备型号
    private String startPointName;//起点设备名称
    private String endPointName;    //终点设备名称
    private String    circuitsNum; //回路数
    private String    margin;    //裕度
    @Generated(hash = 1658827218)
    public PolylineDeviceBean(Long polyLineId, @NotNull String projectId,
            String startPointUUID, String endPointUUID, Double startLatitude,
            Double startLongitude, Double endLatitude, Double endLongitude,
            String polylineUuid, String polylineModel, String startPointName,
            String endPointName, String circuitsNum, String margin) {
        this.polyLineId = polyLineId;
        this.projectId = projectId;
        this.startPointUUID = startPointUUID;
        this.endPointUUID = endPointUUID;
        this.startLatitude = startLatitude;
        this.startLongitude = startLongitude;
        this.endLatitude = endLatitude;
        this.endLongitude = endLongitude;
        this.polylineUuid = polylineUuid;
        this.polylineModel = polylineModel;
        this.startPointName = startPointName;
        this.endPointName = endPointName;
        this.circuitsNum = circuitsNum;
        this.margin = margin;
    }
    @Generated(hash = 1062096916)
    public PolylineDeviceBean() {
    }
    public Long getPolyLineId() {
        return this.polyLineId;
    }
    public void setPolyLineId(Long polyLineId) {
        this.polyLineId = polyLineId;
    }
    public String getProjectId() {
        return this.projectId;
    }
    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }
    public String getStartPointUUID() {
        return this.startPointUUID;
    }
    public void setStartPointUUID(String startPointUUID) {
        this.startPointUUID = startPointUUID;
    }
    public String getEndPointUUID() {
        return this.endPointUUID;
    }
    public void setEndPointUUID(String endPointUUID) {
        this.endPointUUID = endPointUUID;
    }
    public Double getStartLatitude() {
        return this.startLatitude;
    }
    public void setStartLatitude(Double startLatitude) {
        this.startLatitude = startLatitude;
    }
    public Double getStartLongitude() {
        return this.startLongitude;
    }
    public void setStartLongitude(Double startLongitude) {
        this.startLongitude = startLongitude;
    }
    public Double getEndLatitude() {
        return this.endLatitude;
    }
    public void setEndLatitude(Double endLatitude) {
        this.endLatitude = endLatitude;
    }
    public Double getEndLongitude() {
        return this.endLongitude;
    }
    public void setEndLongitude(Double endLongitude) {
        this.endLongitude = endLongitude;
    }
    public String getPolylineUuid() {
        return this.polylineUuid;
    }
    public void setPolylineUuid(String polylineUuid) {
        this.polylineUuid = polylineUuid;
    }
    public String getPolylineModel() {
        return this.polylineModel;
    }
    public void setPolylineModel(String polylineModel) {
        this.polylineModel = polylineModel;
    }
    public String getStartPointName() {
        return this.startPointName;
    }
    public void setStartPointName(String startPointName) {
        this.startPointName = startPointName;
    }
    public String getEndPointName() {
        return this.endPointName;
    }
    public void setEndPointName(String endPointName) {
        this.endPointName = endPointName;
    }
    public String getCircuitsNum() {
        return this.circuitsNum;
    }
    public void setCircuitsNum(String circuitsNum) {
        this.circuitsNum = circuitsNum;
    }
    public String getMargin() {
        return this.margin;
    }
    public void setMargin(String margin) {
        this.margin = margin;
    }
}
